{temp('html/recruit/pc/head')}
<script>
function gbqu(id){
	$.post('{$_url}/?act=get_diqus',{id:id},function(data){
		$("#dzss").html(data);
		init("icon_1","content_1");
	});
}
function jzss(){//兼职搜索
	var gjz = $("#gjz").val();//关键字
	if(gjz == '请输入关键词'){
		var gjz = '';
	}
	var shi = $("#shi").val();//省
	var qu = $("#qu").val();//市
	var xueli = $("#xueli").val();//学历
	var sex = $("#sex").val();//年龄
	var xz = $("#xz").val();//薪资
	var check = $('input:checkbox[name="jzsj"]:checked');//兼职时间
	var jzsj = ',';
	check.each(function(i){
		jzsj += this.value + ',';
	});
	if(jzsj == ','){
		jzsj = '';
	}
	var checksd = $('input:checkbox[name="jzsd"]:checked');//兼职时段
	var jzsd = ',';
	checksd.each(function(i){
		if(this.value == '0'){//全天
			jzsd = 0;
		}else{//上午/下午/晚上
			jzsd += this.value + ',';
		}
	});
	if(jzsd == ','){
		jzsd = '';
	}
	location.href='{$_url}/?act=firm&met=qysss&lx=jz&gjz='+gjz+'&shi='+shi+'&qu='+qu+'&xueli='+xueli+'&sex='+sex+'&xz='+xz+'&jzsj='+jzsj+'&jzsd='+jzsd;
}
</script>
</head>
<body onload="init2('gjz','请输入关键词')">
{if(@$_SESSION['recruit_type'] == '2')}
	<!--容器-->
	<div class="wraper">
		<!--头部-->
		<div class="w_bai dis_inline">
			<!--头部1-->
			<div class="w_bai h_100 bc_137ABF t_c dis_inline">
				<!--详细-->
				<div class="w_1100 auto_0 dis_inline">
					<!--左侧-->
					<div class="f_l">
						<!--logo-->
						<div class="f_l t_m15"><a href="{$_url}"><img src="{$style}/images/head_logo.png"></a></div>
						<!--logo结束-->
						<!--提示字-->
						<div class="f_l t_m30 l_m10 "><img src="{$style}/images/head_zi.png"></div>
						<!--提示字结束-->
					</div>
					<!--左侧结束-->
				</div>
				<!--详细结束-->
			</div>
			<!--头部1结束-->
			<!--头部2-->
			<div class="w_bai h_40 bc_137ABF t_c f_l">
				<!--详细-->
				<div class="w_1100 auto_0 dis_inline">
					<!--左侧-->
					<div class="f_l f_s18" id="head_nav">
						<ul>
							<li><a href="{$_url}">思凯首页</a></li>
							<li><a href="{$_url}/?act=firm">思凯企业信息</a></li>
							<a href="{$_url}/?act=firm&met=qyss"><li>找人才</li></a>
						</ul>
					</div>
					<!--左侧结束-->
					<!--右侧-->
					{if(@$_SESSION['qy_name'])}
					<div class="f_r r_m10 t_m10 c_FFF">
						<span class="c_BFDBE3">{$_SESSION['qy_name']}用户，欢迎您！</span>
						<span><a class="c_FFF" href="{$_url}/?act=firm&met=tc">[安全退出]</a></span>
					</div>
					{/if}
					<!--右侧结束-->
				</div>
				<!--详细结束-->
			</div>
			<!--头部2结束-->
			<!--线-->
			<div class="dis_inline w_bai h_4 bc_666 f_s0 f_l"></div>
			<!--线结束-->
		</div>
		<!--头部结束-->
{elseif(@$_SESSION['recruit_type'] == '3')}
		{temp('html/recruit/pc/zjia/touss')}
{/if}
		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--导航-->
				<div class="w_bai dis_inline t_m10">
					<div class="f_l t_m3 home"></div>
					<span class="f_l t_m5 l_m5" id="jibie">
						您所在的位置：<a href="{$_url}">首页</a> > <a href="{$_url}/?act=ruser&met=qyss">找人才</a>
					</span>
				</div>
				<!--导航结束-->
				<!--搜索-->
				<div class="w_bai dis_inline t_m10 bc_FFF">
					<!--标题及搜索框-->
					<div class="zhaoren_bg dis_inline">
						<!--搜索框内容-->
						<div class="w_720 auto_20 ">
							<!--全职兼职标题-->
							<div class="w_bai dis_inline">
								<div class="f_l w_265">&nbsp;</div>
								<div id="zhuce" class="f_l w_80 h_60 l_h60 t_c bc_FFF f_s20 bor_FFF b_rad5 point">
									<a href="{$_url}/?act=firm&met=qyss">全职</a>
								</div>
								<div id="title" class="f_l l_m20 w_80 h_60 l_h60 t_c bc_FFF f_s20 bor_127ABF b_rad5 point">
									<a href="{$_url}/?act=firm&met=qyssz">兼职</a>
								</div>
								<div class="f_l xuanzhong" style="margin-left:-39px;_margin-left:-38px"></div>
							</div>
							<!--全职兼职标题结束-->
							<!--搜索框-->
							<div class="w_720 t_m30" style="_width:755px">
								<div class="f_l l_m20" style="_margin-left:10px">
									<input type="text" id="gjz" class="inp_cha" onfocus="checkGuanJianCiFocus('gjz')" 
                                    	onblur="checkGuanJianCiBlur('gjz')" />
								</div>
								<div class="f_l w_180 h_40 l_h40 bor_127ABF bc_FFF point"
									style="border-left-style:none;margin-top:0px!important;margin-top:1px"
									onclick="showList('choseCity')">
									<div id="shigb" class="f_l l_m4 c_656565 w_155 t_c">{$sname}</div>
									<input type="hidden" id="shi" value="{$sid}" />
									<div class="f_l t_m17 xiala2" style="margin-left:4px!important;margin-left:0px"></div>
								</div>
								<div class="f_l" style="margin-top:0px!important;margin-top:1px">
									<div class="w_110 h_40 l_h40 t_c f_s20 c_FFF bc_127ABF bor_127ABF point" onClick="jzss()">搜索</div>
								</div>
								<!--选择城市-->
								<div id="choseCity" class="f_r w_410 bor_137ABF jddw bc_FFF"
									style="display:none;margin-top:44px;margin-left:417px!important;margin-left:-297px;_margin-left:-314px">
									<!--标题-->
									<div class="h_45 bc_127ABF c_FFF l_h45">
										<div class="f_l l_m10">选择城市</div>
										<div class="f_r r_m10 point" onClick="closeList('choseCity')">选好了</div>
									</div>
									<!--标题结束-->
									<!--所属省份-->
									<div class="w_380 auto_10 t_l">
										<p class="c_323232">所属省份</p>
										<div class="bor_C6 bor_di_none t_m8"></div>
										<div id="city">
											<ul>
												{if(@$dz)}
												{foreach($dz as $k=>$v)}
												<li onClick="showList('city_hide{$k}')">
													{$v['area_name']}
													<!--隐藏的城市-->
													<div id="city_hide{$k}" class="w_180 bor1_137ABF jddw bc_FFF"
														style="display:none;margin-top:0px!important;margin-top:22px;margin-left:0px!important;margin-left:-30px;">
														<ul>
															{if(@$v['xiaji'])}
															{foreach($v['xiaji'] as $kk=>$vv)}
															<li style="width:160px;" onClick="changeLists('shi','{$vv['area_id']}','{$vv['area_name']}','{$vv['area_id']}')">{$vv['area_name']}</li>
															{/foreach}
															{/if}
														</ul>
													</div>
													<!--隐藏的城市结束-->
												</li>
												{/foreach}
												{/if}
											</ul>
										</div>
									</div>
									<!--所属省份结束-->
								</div>
								<!--选择城市结束-->
							</div>
							<!--搜索框结束-->
						</div>
						<!--搜索框内容结束-->
						<!--收起筛选-->
						<div class="dis_inline w_bai"  style="margin-top:27px!important;margin-top:5px">
							<div class="f_r r_m40" onClick="hideList('chose','shou')">
								<div class="bor_C6 w_78 h_25 bc_FFF l_h25 point f_s0" style="border-bottom-style:none">
									<div class="f_l f_s12 c_656565" style="margin-left:5px!important;margin-left:3px;_margin-left:2px">
										收起筛选
									</div>
									<div class="f_l t_m5 jiantou_up" id="shou"></div>
								</div>
							</div>
						</div>
						<!--收起筛选结束-->
						<!--分割线-->
						<div class="w_bai f_l">
							<div class="bor_C6 bor_di_none "></div>
						</div>
						<!--分割线结束-->
					</div>
					<!--标题及搜索框结束-->
					
					<!--选项-->
					<div class="t_m10 w_bai b_m20 t_l" id="chose" style="display:block">
						<!--地标地段-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">地标地段</div>
							<input type="hidden" id="qu" value="0" />
							<div id="dzss" class="f_l">
								<div class="f_l l_m10 active point" style="_margin-left:5px" {if(@$dzs)}onclick="qbyc('qu',{code(echo count($dzs))})"{/if}>不限</div>
								<div class="f_l w_850 hid" id="content_1">
									{if(@$dzs)}
				        			{foreach($dzs as $k=>$v)}
				        			<span id="qu{$k}" onClick="gbval('qu',{$v['area_id']},{$k},{code(echo count($dzs))})">{$v['area_name']}</span>
				        			{/foreach}
				        			{/if}
								</div>
								<!--展开与隐藏图标-->
								<div class="jian point f_l l_m15" id="icon_1" style="display:none" 
									onclick="change('icon_1','content_1')">
								</div>
								<!--展开与隐藏图标结束-->
							</div>
						</div>
						<!--地标地段结束-->
						<!--学历要求-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">学历要求</div>
							<div class="f_l l_m10 active point" {if(@$xl)}onclick="qbyc('xueli',{code(echo count($xl)-1)})"{/if}>不限</div>
							<div class="f_l w_850" id="content_2">
								<input type="hidden" id="xueli" value="0" />
								{if(@$xl)}
			        			{foreach($xl as $k=>$v)}
			        			{if($k != 0)}
			        			<span id="xueli{code(echo $k-1)}" onClick="gbval('xueli',{$k},{code(echo $k-1)},{code(echo count($xl)-1)})">{$v}</span>
			        			{/if}
			        			{/foreach}
			        			{/if}
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_2" style="display:none" 
								onclick="change('icon_2','content_2')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--学历要求结束-->
						<!--性别要求-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">性别要求</div>
							<div class="f_l l_m10 active point" onClick="qbyc('sex',2)">不限</div>
							<div class="f_l w_850" id="content_3">
								<input type="hidden" id="sex" value="0" />
								<span id="sex0" onClick="gbval('sex','1',0,2)">男</span>
								<span id="sex1" onClick="gbval('sex','2',1,2)">女</span>
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_3" style="display:none" 
								onclick="change('icon_3','content_3')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--性别要求结束-->
						<!--工资要求-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">工资要求</div>
							<div class="f_l l_m10 active point" {if(@$xz)}onclick="qbyc('xz',{code(echo count($xz))})"{/if}>不限</div>
							<div class="f_l w_850" id="content_4">
								<input type="hidden" id="xz" value="0" />
								{if(@$xz)}
			        			{foreach($xz as $k=>$v)}
			        			<span id="xz{$k}" onClick="gbval('xz','{$v}',{$k},{code(echo count($xz))})">{$v}</span>
			        			{/foreach}
			        			{/if}
							</div>
							<!--展开与隐藏图标-->
							<div class="jian point f_l l_m15" id="icon_4" style="display:none" 
								onclick="change('icon_4','content_4')">
							</div>
							<!--展开与隐藏图标结束-->
						</div>
						<!--工资要求结束-->
						<!--兼职时间-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 l_m40 f_b" style="_margin-left:18px">兼职时间</div>
							<div class="f_l l_m10 active point" onClick="qbycs('jzsj',10)">不限</div>
							<div class="f_l w_850" id="content_5">
								<div class="f_l t_m5 b_m5 l_m15" style="_margin-left:5px">
									<input type="checkbox" id="jzsj0" name="jzsj" value="1" class="v_middle" />周一
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj1" name="jzsj" value="2" class="v_middle" />周二
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj2" name="jzsj" value="3" class="v_middle" />周三
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj3" name="jzsj" value="4" class="v_middle" />周四
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj4" name="jzsj" value="5" class="v_middle" />周五
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj5" name="jzsj" value="6" class="v_middle" />周六
								</div>
								<div class="f_l t_m5 b_m5 l_m15">
									<input type="checkbox" id="jzsj6" name="jzsj" value="7" class="v_middle" />周日
								</div>
								<div class="f_l w_850">
									<div class="f_l t_m5 b_m5 l_m15" style="_margin-left:5px">
										<input type="checkbox" id="jzsj7" name="jzsd" value="1" class="v_middle" />上午
									</div>
									<div class="f_l t_m5 b_m5 l_m15">
										<input type="checkbox" id="jzsj8" name="jzsd" value="2" class="v_middle" />下午
									</div>
									<div class="f_l t_m5 b_m5 l_m15">
										<input type="checkbox" id="jzsj9" name="jzsd" value="3" class="v_middle" />晚上
									</div>
								</div>
							</div>
						</div>
						<!--兼职时间结束-->
					</div>
					<!--选项结束-->
				</div>
				<!--搜索框及选项结束-->
				
				<!--职位类型-->
				<div id="zhiweileixing" class="w_bai dis_inline t_l" style="display:block">
					<!--标题选项-->
					<div class="dis_inline t_m10">
						<div class="f_l w_150 h_50 t_c l_h50 f_s20 c_FFF bc_137ABF point">
							按职位搜索
						</div>
					</div>
					<!--标题选项结束-->
					<!--内容-->
					<div class="w_bai bc_FFF dis_inline t_l">
						{if(@$zwlb)}
       					{foreach($zwlb as $k=>$v)}
       					<!--类别1-->
						<div class="t_m10 c_656565 dis_inline">
							<div class="f_l t_m5 w_190 t_c f_b point" 
							onClick="window.location.href='{$_url}/?act=ruser&met=qzlist&zwlb={$v['id']}&lx=jz'">
								{$v['name']}
							</div>
							<div class="f_l l_m10 w_900 point" id="chose">
								{if(@$v['xiao'])}
       							{foreach($v['xiao'] as $kk=>$vv)}
								<span onClick="window.location.href='{$_url}/?act=firm&met=qysss&zwlb={$v['id']}&zhiwei={$vv['id']}&lx=jz'">
									{$vv['name']}
								</span>
								{/foreach}
								{/if}
							</div>
						</div>
						<!--类别1结束-->
						{if($k != count($zwlb) - 1)}
						<!--分割线-->
						<div class="bor_C6 bor_di_none t_m10"></div>
						<!--分割线结束-->
						{/if}
       					{/foreach}
       					{/if}
					</div>
					<!--内容结束-->
				</div>
				<!--职位类型结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->
		<script type="text/javascript">
			var line=18;
			
			function change(iconId,connId){
				var icon=document.getElementById(iconId);
				var conn=document.getElementById(connId);
				var rows=getRows(connId);
				
				if(rows>0){
					icon.style.background="url({$style}/images/icon.png) -350px 0 no-repeat";
					conn.style.height="23px";
					conn.style.overflow="hidden";
				}else{
					icon.style.background="url({$style}/images/icon.png) -320px 0 no-repeat";
					conn.style.height="auto";
					conn.style.overflow="";
				}
			}
			function init(iconId,connId){
				var icon=document.getElementById(iconId);
				var rows=getRows(connId);
				if(rows>0){
					icon.style.display="block";	
				}else{
					icon.style.display="none";	
				}
			} 		
			function getRows(connId){
				var conn=document.getElementById(connId);
				return parseInt(conn.offsetHeight / line -1);
			}
			init("icon_1","content_1");
			init("icon_2","content_2");
			init("icon_3","content_3");
			init("icon_4","content_4");
		</script>
{temp('html/recruit/pc/foot')}